package cn.tmpan.entity;

import java.math.BigDecimal;
import java.util.Date;

public class Balance {
    private Integer balanceId;

    private Integer uid;

    private BigDecimal balance;

    private Integer changeType;

    private BigDecimal restutBalance;

    private Date createTime;

    private Integer changeStatus;

    private String reason;

    public Balance(Integer balanceId, Integer uid, BigDecimal balance, Integer changeType, BigDecimal restutBalance, Date createTime, Integer changeStatus, String reason) {
        this.balanceId = balanceId;
        this.uid = uid;
        this.balance = balance;
        this.changeType = changeType;
        this.restutBalance = restutBalance;
        this.createTime = createTime;
        this.changeStatus = changeStatus;
        this.reason = reason;
    }

    public Balance() {
        super();
    }

    public Integer getBalanceId() {
        return balanceId;
    }

    public void setBalanceId(Integer balanceId) {
        this.balanceId = balanceId;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Integer getChangeType() {
        return changeType;
    }

    public void setChangeType(Integer changeType) {
        this.changeType = changeType;
    }

    public BigDecimal getRestutBalance() {
        return restutBalance;
    }

    public void setRestutBalance(BigDecimal restutBalance) {
        this.restutBalance = restutBalance;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getChangeStatus() {
        return changeStatus;
    }

    public void setChangeStatus(Integer changeStatus) {
        this.changeStatus = changeStatus;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason == null ? null : reason.trim();
    }
}